import request from '@/plugins/request';

// 批量分配患者
export function BatchPatient (data) {
    return request({
        url: '/v1/patient/index/allot-batch-patient',
        method: 'post',
        data
    });
}

// 筛选选患者
export function ScreenPatient (data) {
    return request({
        url: '/v1/patient/index/allot-patient-list',
        method: 'get',
        params: data
    });
}

// 筛选患者条件
export function ScreenBasicsPatient (data) {
    return request({
        url: '/v1/patient/index/allot-condition-list',
        method: 'get',
        params: data
    });
}

// 公海列表
// 获取列表
export function PublicSeaList (data) {
    return request({
        url: '/v1/patient/index/seas-list',
        method: 'get',
        params: data
    });
}

// 归属人列表
export function PublicFromMember (data) {
    return request({
        url: '/v1/patient/index/member-list',
        method: 'get',
        params: data
    });
}

// 分配患者
export function PublicDistribution (data) {
    return request({
        url: '/v1/patient/index/allot-patient',
        method: 'post',
        data
    });
}

// 客服列表
export function serveList (data) {
    return request({
        url: '/v1/patient/index/patient-list',
        method: 'get',
        params: data
    });
}

// 患者列表
export function PatientList (data) {
    return request({
        url: '/v1/patient/index/patient-assistant-list',
        method: 'get',
        params: data
    });
}

// 患者编辑详情
export function PatientUpdataDetail (data) {
    return request({
        url: '/v1/patient/index/edit-info',
        method: 'get',
        params: data
    });
}

// 患者编辑
export function PatientUpdata (data) {
    return request({
        url: '/v1/patient/index/update',
        method: 'post',
        data
    });
}

// 患者详情信息

export function PatientDetailInfo (data) {
    return request({
        url: '/v1/patient/index/info',
        method: 'get',
        params: data
    });
}

// 用户足迹
export function PatientInfoFoot (data) {
    return request({
        url: '/v1/patient/index/foot-print-list',
        method: 'get',
        params: data
    });
}
// 回访信息
export function PatientCallback (data) {
    return request({
        url: 'v1/patient/index/callback-list',
        method: 'get',
        params: data
    });
}
// 病例辅助列表
export function PatientMedicalList (data) {
    return request({
        url: 'v1/patient/index/medical-list',
        method: 'get',
        params: data
    });
}
// 病例信息
export function PatientMedicalInfo (data) {
    return request({
        url: 'v1/patient/index/medical-info',
        method: 'get',
        params: data
    });
}
// 编辑病例
export function PatientMedicalEdit (data) {
    return request({
        url: 'v1/patient/index/edit-medical',
        method: 'post',
        data
    });
}
// 新增病历辅助内容
export function PatientMedicalCreate (data) {
    return request({
        url: 'v1/patient/index/create-medical-auxiliary',
        method: 'post',
        data
    });
}
// 治疗图片列表
export function PatientClinicImgList (data) {
    return request({
        url: 'v1/patient/index/clinic-img-list',
        method: 'get',
        params: data
    });
}
// 治疗图片绑定部位
export function PatientClinicImgEdit (data) {
    return request({
        url: 'v1/patient/index/edit-clinic-img',
        method: 'post',
        data
    });
}
// 删除治疗图片
export function PatientClinicImgDelete (data) {
    return request({
        url: 'v1/patient/index/delete-clinic-img',
        method: 'post',
        data
    });
}
// 消费信息列表
export function PatientConsumptionList (data) {
    return request({
        url: 'v1/patient/index/consumption-list',
        method: 'get',
        params: data
    });
}
// 消费信息详情
export function PatientConsumptionInfo (data) {
    return request({
        url: 'v1/patient/index/consumption-info',
        method: 'get',
        params: data
    });
}
// 治疗信息列表
export function PatientTreatmentList (data) {
    return request({
        url: 'v1/patient/index/treatment-list',
        method: 'get',
        params: data
    });
}
// 治疗信息详情
export function PatientTreatmentInfo (data) {
    return request({
        url: 'v1/patient/index/treatment-info',
        method: 'get',
        params: data
    });
}
// 操作日志
export function LogList (data) {
    return request({
        url: 'v1/patient/index/operate-log-list',
        method: 'get',
        params: data
    });
}
// 编辑患者抗复发状态
export function UpdateAnti (data) {
    return request({
        url: 'v1/patient/index/update-anti',
        method: 'post',
        data
    });
}
